package com.xfcode.ai.platform.ext;

import lombok.Data;

@Data
public class ImgChat {
    private String  type;
    private String  text;
    private ImgUrl  image_url;

    public ImgChat(ImgUrl image_url) {
        this.type = "image_url";
        this.image_url = image_url;
    }

    public ImgChat(String text) {
        this.type = "text";
        this.text = text;
    }
}
